package com.atguigu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author chenyeqing
 * @Date 2021/12/25 0:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GuliException extends RuntimeException {

    /**
     * 状态码
     */
    private Integer code;

    /**
     * 异常消息
     */
    private String msg;

}
